package com.zzzzzz.account.settings;

import javax.validation.constraints.Size;

import com.zzzzzz.core.validation.Confirm;

@Confirm(field="newPassword")
public class EditPasswordForm {

	@Size(min=6, max=20)
	private String curPassword;
	@Size(min=6, max=20)
	private String newPassword;
	
	private String confirmNewPassword;
	
	public String getCurPassword() {
		return curPassword;
	}

	public void setCurPassword(String curPassword) {
		this.curPassword = curPassword;
	}

	public String getNewPassword() {
		return newPassword;
	}

	public void setNewPassword(String newPassword) {
		this.newPassword = newPassword;
	}

	public String getConfirmNewPassword() {
		return confirmNewPassword;
	}

	public void setConfirmNewPassword(String confirmNewPassword) {
		this.confirmNewPassword = confirmNewPassword;
	}

}
